package com.youlai.boot.bmp.model.vo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;


@Schema(description = "流程定义VO")
@Data
public class BizProcessVo {

    @Schema(description = "主键ID")
    private Long id;

    @Schema(description = "流程BIZ分类Id")
    private Long categoryId;

    @Schema(description = "流程Icon")
    protected String processIcon;

    @Schema(description = "流程类型(child/main)")
    protected String processType;

    @Schema(description = "流程唯一标识code")
    private String processKey;

    @Schema(description = "流程名称")
    private String processName;

    @Schema(description = "流程描述")
    protected String remark;

    @Schema(description = "管理人id")
    private String createId;

    @Schema(description = "管理人用户名")
    private String createBy;

    @Schema(description = "流程定义ID，新增可以不传")
    private Long processId;

    @Schema(description = "流程定义json字符串")
    private String jsonModel;

    @Schema(description = "排序字段")
    private Integer sort;

    @Schema(description = "流程版本")
    private Integer processVersion;

    @Schema(description = "流程实例URL")
    private String instanceUrl;

    @Schema(description = "使用范围  0，全员 1，指定人员（业务关联） 2，均不可提交")
    private Integer useScope;

    @Schema(description = "流程状态 0，不可用 1，可用 2，历史版本")
    private Integer processState;

    @Schema(description = "流程表单ID")
    private Long formId;

    @Schema(description = "流程表单结构JSON，描述字段组件结构")
    private String formSchema;
}
